package com.ravi.common.constant;

public enum CheckExceptionEnum {
	SEARCH_FAILED(4004, "查询失败！"),

	DOC_FINISHED_FAILED(4005, "完成失败!"),
	DOC_MISSING_FAILED(4006, "完成失败!"),

	PATIENT_NOT_FOUND(4014, "找不到该体检用户！"),
	PATIENT_ASSIGN_FAILED(4015, "导检分配失败！"),

	WRONG_PASSWORD(4996, "原密码错误！"),
	CHANGE_PASSWORD_FAILED(4997, "更改密码失败！"),
	LOGIN_FAILED(4998, "用户名或密码错误!"),
	REQUEST_PARAM_ERROR(4999, "参数错误!"),
	SYSTEM_ERROR(5000, "系统错误"),
	TOKEN_EXPIRED(5001, "token过期!"),
	TOKEN_ERROR(5002, "token有错！");
	Integer code;
	String msg;

	CheckExceptionEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
